package com.cx.service;

import com.cx.pojo.Car;
import com.cx.pojo.Series;

import java.util.List;

public interface SeriesService {
    //添加车系
    int insert(Series series);

    //修改车系
    int updateByPrimaryKey(Series series);

    //根据id删除车系
    int deleteByPrimaryKey(Integer seriesId);

    //根据id查询车系
    Series selectByPrimaryKey(Integer seriesId);

    //查询所有车系
    List<Series> selectAll(Series series);

    //根据车系名查询汽车
    Series selectSeries(String seriesName);
}
